﻿
@{
    Sys_Event showEvnet = ViewBag.ShowEvent != null ? (Sys_Event)ViewBag.ShowEvent : new Sys_Event();

    string openLink = showEvnet.LinkOpen;
    }

    <div>        
        <div onclick="openDeteil();">
            @Html.Raw(showEvnet.EventBody)
        </div>
    </div>


    <script type="text/javascript">

        $(document).ready(function () {
            Popup_Event(); 
        });

        function openDeteil() {
            window.location = "/tin-tuc/" + "@openLink";
        }


    </script>